package com.konke.smartpad_huahao;

import android.content.Intent;

import com.konke.smartpad_huahao.UI.view.MainActivity;
import com.zsj.comminlibrary.base.BaseViewNavigator;

public class ViewNavigator extends BaseViewNavigator {
    public final static int EDIT = 1;
    public final static int RESETPWD = 2;
    public final static int LANGUAGE = 3;

    public static void toMain() {
        Intent intent = new Intent(sContext, MainActivity.class).setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
        sContext.startActivity(intent);
    }

}
